import java.awt.Button;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;


public class DlgPrincipal extends JFrame {

	/**
	 * @param args
	 */
	public DlgPrincipal() {
		final JLabel hola = new JLabel("Hola Mundo!");
		JButton btnGuardar = new JButton("Guardar");

		getContentPane().add(hola, "Center");
		getContentPane().add(btnGuardar, "C");
		setSize(200, 100);
		// setOptions();
		setVisible(true);

		// cleanTempDir();
		// setTopImage();
		// this.add(topImage);
		// this.add(options);
		this.setLayout(new FlowLayout());
		this.setPreferredSize(new Dimension(700, 585));
		this.setSize(700, 585);
		
		btnGuardar.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				hola.setText("Mostrar DDA");
				//setLabelsLineas();
			}
			
		});
	}

}
